package edu.gdkm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class FirstController {
    @RequestMapping("/firstController")
    public String first(Model model,String name){
        model.addAttribute("name",name);
        return "index";
    }
}